﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SlaughterItem.Common.Domains.Saleser
{
    /// <summary>
    /// 销售称重表
    /// </summary>
    public class Sale
    {
        /// <summary>
        /// 主键
        /// </summary>
        [Key]
        public int SaleId { get; set; }

        /// <summary>
        /// 进场编号
        /// </summary>
        public int CheckInId { get; set; }

        /// <summary>
        /// 商品代号
        /// </summary>
        public int MarkId { get; set; }

        /// <summary>
        /// 件数
        /// </summary>
        public string SaleNum { get; set; }

        /// <summary>
        /// 毛重
        /// </summary>
        public string SaleGrossWeight { get; set; }

        /// <summary>
        /// 皮重
        /// </summary>
        public string SaleTares { get; set; }

        /// <summary>
        /// 净重
        /// </summary>
        public string SaleWeight { get; set; }

        /// <summary>
        /// 商品批号
        /// </summary>
        public int ProductId { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        public string SaleRemark { get; set; }

        /// <summary>
        /// 仓库
        /// </summary>
        public int DepotId { get; set; }

        /// <summary>
        /// 称重时间
        /// </summary>
        public DateTime? SaleTime { get; set; }

        /// <summary>
        /// 是否删除
        /// </summary>
        public bool IsDelete { get; set; }=false;
    }
}
